package edu.tyut.game.service.impl;

import edu.tyut.game.dao.feedback.FeedbackDao;
import edu.tyut.game.model.Feedback;
import edu.tyut.game.service.FeedbackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FeedbackServiceImpl implements FeedbackService {

    private FeedbackDao feedbackDao;
    @Autowired
    public void setFeedbackDao(FeedbackDao feedbackDao) {
        this.feedbackDao = feedbackDao;
    }

    @Override
    public void addFeedback(Feedback feedback) {
        feedbackDao.insertFeedback(feedback);
    }
}
